
import { useState } from "@builder.io/mitosis";
export default function Counter() {
  const [count, setCount] = useState(0);

  return (
    <div>
      <p>Count is  {count} </p>
      <button onClick={() => setCount(count + 1)}>+</button>
	  <button onClick={() => setCount(count - 1)}>-</button>
    </div>
  );
}